package com.xique.park.bean.vo.web.ipc;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * ParkIpcVo
 *
 * @author xique
 */
@Data
public class ParkIpcVo {

    private Long laneId;

    private Long id;

    private String name;

    private String devCode;

    private String ip;

    private String mac;

    private String isMain;

    private String model;

    private String boardType;

    private String softVersion;

    private String ipcVersion;

    private JSONObject onlineStatus;

    private Long sort;

    private JSONObject laneStatus;

    /**
     * 通道地感状态 1：地感检测当前有车；0：地感检测当前无车
     */
    private Integer isSense;

    /**
     * 通道道闸状态 1：道闸关；0：道闸开
     */
    private Integer isGateState;

    /**
     * 通道名称
     */
    private String laneName;

    /**
     * 岗亭类型
     */
    private String laneType;

    private String status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
